package com.jinly.ryder.ansible.service;

import com.jinly.ryder.ansible.service.model.AnsibleDeployResult;
import com.jinly.ryder.ansible.service.model.AnsibleParam;
import com.jinly.ryder.ansible.service.model.AnsibleTaskProgress;

import java.util.function.Consumer;

public interface AnsibleService {

    AnsibleDeployResult exec(AnsibleParam ansibleParam, Consumer<AnsibleTaskProgress> consumer);

}
